package yns.springboot.guide.demo.dto;

import java.time.LocalDateTime;
import java.time.LocalTime;

import com.fasterxml.jackson.annotation.JsonFormat;

public class UserDto {
	
	private Integer id;
	private String name;
	private Integer sex;
	private Integer age;
	private String describe;
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private LocalDateTime fullTime;
	@JsonFormat(pattern="HH:mm:ss")
	private LocalTime time;
	
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getSex() {
		return sex;
	}
	public void setSex(Integer sex) {
		this.sex = sex;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	public String getDescribe() {
		return describe;
	}
	public void setDescribe(String describe) {
		this.describe = describe;
	}
	public LocalDateTime getFullTime() {
		return fullTime;
	}
	public void setFullTime(LocalDateTime fullTime) {
		this.fullTime = fullTime;
	}
	public LocalTime getTime() {
		return time;
	}
	public void setTime(LocalTime time) {
		this.time = time;
	}
	
	
	

}
